package org.apache.dubbo.demo.example.eg18;

import java.util.concurrent.TimeUnit;

public class DemoServiceImpl implements DemoService {

  @Override
  public String sayHello(String name) {
    System.out.println("****************** sayHello() invoked ******************");
    try {
      TimeUnit.SECONDS.sleep(3);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
    return "hello, " + name;
  }
}
